package com.ruoyi.cost.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 户资金修改对象 house_door_cost
 * 
 * @author ruoyi
 * @date 2023-04-26
 */
public class HouseDoorCost extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 户资金编号 */
    private Long doorCostId;


    private Long doorId;

    /** 小区名称 */
    @Excel(name = "小区名称")
    private String areaName;

    /** 楼宇名称 */
    @Excel(name = "楼宇名称")
    private String groupName;

    /** 单元名称 */
    @Excel(name = "单元名称")
    private String unitName;

    /** 户名称 */
    @Excel(name = "户名称")
    private String doorName;

    /** 房屋编号 */
    @Excel(name = "房屋编号")
    private String houseId;

    /** 姓名 */
    @Excel(name = "姓名")
    private String userName;

    /** 已缴金额 */
    @Excel(name = "已缴金额")
    private Double costMoney;

    /** 最后缴费时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "最后缴费时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date costDate;

    /** 缴费状态，HOUSE004,0：未缴，1：已缴 */
    @Excel(name = "缴费状态",readConverterExp = "0=未缴,1=已缴")
    private String costSts;

    /** 本金余额 */
    @Excel(name = "本金余额")
    private Double balance;

    /** 创建者 */
    @Excel(name = "创建者")
    private String creater;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createDate;

    /**备注 */
    @Excel(name = "备注")
    private String remark;

    /**已缴金额(原) */
    @Excel(name = "已缴金额(原)")
    private Double costMoneyPre;

    /**已缴金额(原) */
    @Excel(name = "已缴时间(原)")
    private Date costDatePre;
    /**已缴金额(原) */
    @Excel(name = "余额(原)")
    private Double balancePre;
    /**发票号码(原) */
    @Excel(name = "发票号码(原)")
    private String billNoPre;
    /**发票号码(原) */
    @Excel(name = "发票号码")
    private String billNo;

    public HouseDoorCost() {
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("doorId",getDoorId())
            .append("doorCostId",getDoorCostId())
            .append("areaName",getAreaName())
            .append("groupName", getGroupName())
            .append("unitName", getUnitName())
            .append("doorName", getDoorName())
            .append("houseId", getHouseId())
            .append("userName", getUserName())
            .append("costMoney", getCostMoney())
            .append("costDate", getCostDate())
            .append("balance", getBalance())
            .append("balancePre",getBalancePre())
            .append("costMoneyPre",getCostMoneyPre())
            .append("costDatePre",getCostDatePre())
            .append("creater", getCreater())
            .append("createDate", getCreateDate())
            .append("remark", getRemark())
            .toString();
    }

    public Long getDoorId() {
        return doorId;
    }

    public void setDoorId(Long doorId) {
        this.doorId = doorId;
    }

    public String getAreaName() {
        return areaName;
    }

    public void setAreaName(String areaName) {
        this.areaName = areaName;
    }

    public String getGroupName() {
        return groupName;
    }

    public void setGroupName(String groupName) {
        this.groupName = groupName;
    }

    public String getUnitName() {
        return unitName;
    }

    public void setUnitName(String unitName) {
        this.unitName = unitName;
    }

    public String getDoorName() {
        return doorName;
    }

    public void setDoorName(String doorName) {
        this.doorName = doorName;
    }

    public String getHouseId() {
        return houseId;
    }

    public void setHouseId(String houseId) {
        this.houseId = houseId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public Double getCostMoney() {
        return costMoney;
    }

    public void setCostMoney(Double costMoney) {
        this.costMoney = costMoney;
    }

    public Date getCostDate() {
        return costDate;
    }

    public void setCostDate(Date costDate) {
        this.costDate = costDate;
    }

    public String getCostSts() {
        return costSts;
    }

    public void setCostSts(String costSts) {
        this.costSts = costSts;
    }

    public Double getBalance() {
        return balance;
    }

    public void setBalance(Double balance) {
        this.balance = balance;
    }

    public String getCreater() {
        return creater;
    }

    public void setCreater(String creater) {
        this.creater = creater;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    @Override
    public String getRemark() {
        return remark;
    }

    @Override
    public void setRemark(String remark) {
        this.remark = remark;
    }

    public Long getDoorCostId() {
        return doorCostId;
    }

    public void setDoorCostId(Long doorCostId) {
        this.doorCostId = doorCostId;
    }

    public Double getBalancePre() {
        return balancePre;
    }

    public void setBalancePre(Double balancePre) {
        this.balancePre = balancePre;
    }

    public Double getCostMoneyPre() {
        return costMoneyPre;
    }

    public void setCostMoneyPre(Double costMoneyPre) {
        this.costMoneyPre = costMoneyPre;
    }

    public Date getCostDatePre() {
        return costDatePre;
    }

    public void setCostDatePre(Date costDatePre) {
        this.costDatePre = costDatePre;
    }

    public String getBillNoPre() {
        return billNoPre;
    }

    public void setBillNoPre(String billNoPre) {
        this.billNoPre = billNoPre;
    }

    public String getBillNo() {
        return billNo;
    }

    public void setBillNo(String billNo) {
        this.billNo = billNo;
    }
}
